var express = require('express');
var router = express.Router();

/*router.use(function(req,res,next){
    if (req.session.uid) {
        next();
    }else{
        res.redirect("/smtool_project/login");
    }
});*/

router.get('/', function(req, res, next) {
    res.render('surveying/surveying.main.ejs')
});

router.get('/surveying.list', function (req, res, next) {

    res.render('surveying/surveying.list.ejs',reuslt);
});

module.exports = router;
